public class KLH extends Agent
fNegotiation, parametervalues, sessionNr, sessionsTotal, startTime, strategyParameters, timeline, totalTime, utilitySpace| Constructor and Description |
|---|
KLH() |
| Modifier and Type | Method and Description |
|---|---|
Action |
chooseAction()
This is the main strategy of that determines the behavior of the agent.
|
double |
get_p()
This function calculates the concession amount based on remaining time, initial parameters,
and, the discount factor.
|
java.lang.String |
getName() |
static java.lang.String |
getVersion() |
void |
init()
handles some initializations.
|
void |
ReceiveMessage(Action pAction)
Receives opponent's action
|
endSession, getAgentID, getParameterValues, getSessionNumber, getSessionsTotal, getStrategyParameters, getUtility, internalInit, isUIAgent, loadSessionData, parseStrategyParameters, restartDataObjectsFolder, saveSessionData, setAgentID, setName, sleeppublic void init()
public static java.lang.String getVersion()
public java.lang.String getName()
public void ReceiveMessage(Action pAction)
ReceiveMessage in class Agentpublic double get_p()
public Action chooseAction()
chooseAction in class AgentAction that contains agents decision